/**
 * Project Name:kany-project-blog-web
 * File Name:AuthorPricinple.java
 * Package Name:me.kany.project.blog.resource.model
 * Date:2016年9月21日下午5:17:44
 * Copyright (c) 2016, Jason.Wang All Rights Reserved.
 */
package me.kany.project.blog.resource.model;

import java.security.Principal;

/**
 * ClassName:AuthorPricinple<br/>
 * Function: Principal实现类，用来做权限<br/>
 * Date:2016年9月21日下午5:17:44<br/>
 * 
 * @author Jason.Wang
 * @version 1.0
 * @since JDK1.7
 * @see
 */
public class AuthorPricinple implements Principal {

	private String name;

	public AuthorPricinple(String name) {
		this.name = name;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.security.Principal#getName()
	 */
	@Override
	public String getName() {
		return this.name;
	}

}
